/* make up for the new bar on the top of the screen */
body {margin: 49px 0px 0px 0px !important; }
div#sb-page-controls img {border: 0px}
/*
div#sb-page-controls-wrapper {background: transparent url(../images/site-builder/toolbar/bg_header.png) repeat-x scroll; height: 53px; width: 100%; position: fixed; top: 0px; left: 0px; margin:0; padding:0;}
*/

img {border: 0px}

form {margin: 0px; padding: 0px}

img#sb-topbar-loader {
    position: absolute; top: 24px; right: 10px; visibility: hidden; /*z-index: 80*/;
}

img#sb-pane-loader {
    margin: 10px auto 10px auto;
    display: block;
    width: 126px;
}

#sb-page-controls-show,
div#sb-page-controls {z-index: 1000000; font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; background: transparent url(../images/site-builder/toolbar/bg_header.png) repeat-x scroll; height: 53px; width: 100%; position: fixed; top: 0px; left: 0px; margin:0; padding:0;}
div#sb-page-controls.live {background-image:url(../images/site-builder/toolbar/bg_header_live.png);}
div#sb-page-controls * {/*z-index: 102;*/ font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;}

div#sb-page-controls a {color: #1B67A2; text-decoration: none}

div#sb-logo-wrapper {position: absolute; top: 0px; left: 0px; height: 49px; border-right: 1px solid #d7d7d7}
div#sb-logo-wrapper img {display: block; border-right: 1px solid #fff}

div#sb-system-nav-wrapper1 {position: absolute; border-left: 1px solid #fff; top: 0px; right: 0px; }
ul#sb-system-nav {height: 49px; border-left: 1px solid #d7d7d7}

div#sb-page-controls ul#sb-system-nav { margin: 0px; padding: 0px; }
div#sb-page-controls ul#sb-main-nav {margin: 0px; padding: 0px 0px 0px 59px;}
ul#sb-system-nav li, ul#sb-main-nav li, ul#sb-main-nav li.sb-nav-rolloversOff:hover {
    float: left;
    border-right: 1px solid #d7d7d7;
    line-height: 12px; 
    margin: 0px 0px 0px 0px !important;
    background: transparent url(../images/site-builder/toolbar/bg_header_rib.png) repeat-x top left;
    padding: 0px !important;
    list-style-type: none;
}
#sb-page-controls.live ul#sb-system-nav li, #sb-page-controls.live ul#sb-main-nav li, #sb-page-controls.live ul#sb-main-nav li.sb-nav-rolloversOff:hover {background-image: url(../images/site-builder/toolbar/bg_header_rib_live.png);}

ul#sb-system-nav li a, ul#sb-system-nav li span, ul#sb-main-nav li a, ul#sb-main-nav li span, 
ul#sb-main-nav li.sb-nav-rolloversOff:hover a, ul#sb-main-nav li.sb-nav-rolloversOff:hover li span
 {
    display: block; 
    padding: 34px 9px 3px 9px; 
    height: 12px; 
    text-align: center; 
    background-repeat: no-repeat; 
    font-size: 10px; color: #828282; 
    text-decoration: none; 
}

ul#sb-main-nav li span, ul#sb-system-nav li span {color: #cecece}
ul#sb-system-nav li:hover, ul#sb-main-nav li:hover, ul#sb-main-nav li.sb-nav-active {background: #A2DAFD url(../images/site-builder/toolbar/bg_header_active.png) repeat-x scroll;}
ul#sb-main-nav.sb-pane-open li.sb-nav-inactive:hover {background: #dedede url(../images/site-builder/toolbar/bg_header_active_over.png) repeat-x scroll;}
ul#sb-main-nav li.sb-nav-rolloversOff:hover a{ cursor: default}

ul#sb-main-nav li.sb-nav-inactive:hover {    background: transparent url(../images/site-builder/toolbar/bg_header_rib.png) repeat-x scroll;}

a.sb-nav-loading {background-image: url(../images/site-builder/toolbar/icons/icon_header_loading.gif) !important;}

ul#sb-main-nav #sb-nav-edit {background-image: url(../images/site-builder/toolbar/icons/icon_header_edit.png); background-position: center 4px !important}
ul#sb-main-nav #sb-nav-copy-revision {background-image: url(../images/site-builder/toolbar/icons/icon_header_add_copy.png); background-position: center 4px !important}
ul#sb-main-nav a#sb-nav-edit.sb-nav-loading {background-position: center 8px !important}

ul#sb-main-nav a#sb-nav-add {background-image: url(../images/site-builder/toolbar/icons/icon_header_add.png); background-position: center 8px !important}
ul#sb-main-nav a#sb-nav-add.sb-nav-loading {background-position: center 9px !important}

ul#sb-main-nav a#sb-nav-close-form,
ul#sb-main-nav a#sb-nav-exit-edit-direct,
ul#sb-main-nav a#sb-nav-exit-edit {background-image: url(../images/site-builder/toolbar/icons/icon_header_exit_edit_mode.png); background-position: center 8px !important}
ul#sb-main-nav a#sb-nav-exit-edit-direct.sb-nav-loading, ul#sb-main-nav a#sb-nav-exit-edit.sb-nav-loading {background-position: center 9px !important}
ul#sb-main-nav a#sb-nav-close-form {}
ul#sb-main-nav a#sb-nav-reload-form {background-image: url(../images/site-builder/toolbar/icons/refresh.png); background-position: center 8px !important}
ul#sb-main-nav a#sb-nav-save-position,
ul#sb-main-nav a#sb-nav-save-form {background-image: url(../images/site-builder/toolbar/icons/save.png); background-position: center 8px !important}
ul#sb-main-nav a#sb-nav-save-revision-position {background-image: url(../images/site-builder/toolbar/icons/save_revision.png); background-position: center 8px !important}

ul#sb-main-nav a#sb-nav-properties {background-image: url(../images/site-builder/toolbar/icons/icon_header_properties.png); background-position: center 7px !important}
ul#sb-main-nav a#sb-nav-properties.sb-nav-loading {background-position: center 9px !important}

ul#sb-main-nav a#sb-nav-design {background-image: url(../images/site-builder/toolbar/icons/icon_header_design.png); background-position: center 8px !important}
ul#sb-main-nav a#sb-nav-design.sb-nav-loading {background-position: center 9px !important}

ul#sb-main-nav a#sb-nav-permissions {background-image: url(../images/site-builder/toolbar/icons/icon_header_permissions.png); background-position: center 7px !important}
ul#sb-main-nav a#sb-nav-permissions.sb-nav-loading {background-position: center 10px !important}

ul#sb-main-nav a#sb-nav-footer,
ul#sb-main-nav a#sb-nav-header {background-image: url(../images/site-builder/toolbar/icons/icon_header_hidden_widget.png); background-position: center 11px !important}

ul#sb-main-nav a#sb-nav-versions {background-image: url(../images/site-builder/toolbar/icons/icon_header_versions.png); background-position: center 11px !important}
ul#sb-main-nav a#sb-nav-versions.sb-nav-loading {background-position: center 10px !important}

ul#sb-main-nav a#sb-nav-mcd {background-image: url(../images/site-builder/toolbar/icons/icon_header_move_delete.png); background-position: center 12px !important}
ul#sb-main-nav a#sb-nav-mcd.sb-nav-loading {background-position: center 11px !important}

ul#sb-main-nav a#sb-nav-save-arrange {background-image: url(../images/site-builder/toolbar/icons/icon_header_save_arrange.png); background-position: center 4px !important}
ul#sb-main-nav a#sb-nav-save-arrange.sb-nav-loading {background-position: center 9px !important}

ul#sb-system-nav #sb-nav-dashboard {background-image: url(../images/site-builder/toolbar/icons/icon_header_dashboard.png); background-position: center 8px !important}
ul#sb-system-nav #sb-nav-dashboard.sb-nav-loading {background-position: center 8px !important}
ul#sb-system-nav #sb-nav-help {background-image: url(../images/site-builder/toolbar/icons/icon_header_help.png); background-position: center 8px !important}
ul#sb-system-nav #sb-nav-help.sb-nav-loading {background-position: center 8px !important}
ul#sb-system-nav #sb-nav-logout {background-image: url(../images/site-builder/toolbar/icons/icon_header_logout.png); background-position: center 8px !important}

#new-revision-log {display: none;}
#new-revision-log-form {background-color: white; color: #000000;  text-align: left; font-size: 12px; padding: 5px;}
#new-revision-log-form .row {margin: 5px 0;}
#new-revision-log-form .row label {font-weight: bold;}
#new-revision-log-form .row.error {background-color: red; color: white; display: none; padding: 3px;}
#new-revision-log-form textarea {width: 400px;border: 1px solid #BDC7D8; padding: 2px;}
#new-revision-log-form .buttons {text-align: right;}

#fancybox-content .title {background-color: #125999; color: white; font-weight: bold; padding: 5px 10px; font-size: 14px;  text-align: left;}
#fancybox-content .buttons input {background-color: #125999; padding: 3px 5px; color: white; font-weight: bold; border: 1px solid #052A54;}
#fancybox-content .buttons input.cancel {background-color: #EEE; color: #000000; border: 1px solid #999;}